package com.lixiang.userinfo.entity;

/**
 * 账户对象
 * @author 李湘
 * @date 2018-10-20
 */
public class Account {
    private Integer accId;//账户编号

    private String accName;//账户名称

    private String accPwd;//账户密码

    private Integer roleId;//角色编号

    private Integer accState;//账户状态1使用中 2 禁用

    public Account() {
		super();
	}

	public Account(Integer accId, String accName, String accPwd, Integer roleId, Integer accState) {
		super();
		this.accId = accId;
		this.accName = accName;
		this.accPwd = accPwd;
		this.roleId = roleId;
		this.accState = accState;
	}

	public Integer getAccId() {
        return accId;
    }

    public void setAccId(Integer accId) {
        this.accId = accId;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName == null ? null : accName.trim();
    }

    public String getAccPwd() {
        return accPwd;
    }

    public void setAccPwd(String accPwd) {
        this.accPwd = accPwd == null ? null : accPwd.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getAccState() {
        return accState;
    }

    public void setAccState(Integer accState) {
        this.accState = accState;
    }
}